package org.example;

import java.io.*;
public class BingServlet extends CommonUtil{
    public BingServlet() {
    }

    @Override
    public void service(MyHttpRequest req, MyHttpResponse resp) throws IOException {
        //方法分发
        super.service(req,resp);
    }

    @Override
    public void doGet(MyHttpRequest req, MyHttpResponse resp) throws IOException {
        super.commonMethod(req,resp);
        resp.getPrintWriter().write(CommonUtil.htmlContent.getBytes());
    }

    @Override
    public void doPost(MyHttpRequest req, MyHttpResponse resp) throws IOException {
        this.doGet(req, resp);
    }
}
